home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
ezzcomm.zip
/
MENU.T
< prev
next >
Wrap
Text File
|
1991-02-16
|
3KB
|
69 lines
: EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
: Licensed for use at your own risk without fee. Altered versions,
: when distributed, must be clearly marked as altered and accompanied
: by the originals.
menu:
queue clear;queue add "gosub pausing";display stat=off
tof:
display inhibit;open -!g %phones;display noinhibit;if t nolog
set s1 "";while "t&&!js1,:~" grab s1
if t goto havepg
lput "\E[0m\E[2J\E[37;44mUnable to Locate Entries\E[m\r\n\n"
return
nextpg:
set s1 "";while "t&&!js1,:~" grab s1
if !t goback tof
havepg:
set s2 "";while "t&&!js2,:~" grab s2
set s3 "";while "t&&!js3,:~" grab s3
set s4 "";while "t&&!js4,:~" grab s4
set s5 "";while "t&&!js5,:~" grab s5
set s6 "";while "t&&!js6,:~" grab s6
set s7 "";while "t&&!js7,:~" grab s7
set s8 "";while "t&&!js8,:~" grab s8
set s9 "";while "t&&!js9,:~" grab s9
listpg:
lput "\E[0m\E[2J\E[37;44mPick a Number to Add to the Dialing Queue or a Command to Execute:\E[m\r\n\n"
if %s1 split s1 "~" "~" "";lput " 1 \T%z1";lput \r\n
if %s2 split s2 "~" "~" "";lput " 2 \T%z1";lput \r\n
if %s3 split s3 "~" "~" "";lput " 3 \T%z1";lput \r\n
if %s4 split s4 "~" "~" "";lput " 4 \T%z1";lput \r\n
if %s5 split s5 "~" "~" "";lput " 5 \T%z1";lput \r\n
if %s6 split s6 "~" "~" "";lput " 6 \T%z1";lput \r\n
if %s7 split s7 "~" "~" "";lput " 7 \T%z1";lput \r\n
if %s8 split s8 "~" "~" "";lput " 8 \T%z1";lput \r\n
if %s9 split s9 "~" "~" "";lput " 9 \T%z1";lput \r\n
lput \r\n
lput " c Clear Dialing Queue to Start Over\r\n"
lput " g Begin Dialing from the Queue\r\n"
lput " l List Dialing Queue\r\n"
lput " a Add New Entry to Directory\r\n"
lput " d Add to a List of Files to be Downloaded\r\n"
lput " u Add to a List of Files to be Uploaded\r\n"
lput " p Set Password and Userid for a Board\r\n\n"
lput " n Next screen of selections\r\n"
lput " x Exit\r\n"
acceptl1 s0 "\n\E[7mYour Selection:\E[m "
if is0,x ife t closetx;return
if is0,g close;cl;queue run;queue clear;queue add "gosub pausing";goback tof
if is0,a close;gosub .%lib/addphone.t;gosub ak;goback tof
if is0,d close;gosub .%lib/adddl.t;gosub ak;goback tof
if is0,p close;gosub .%lib/addpw.t;gosub ak;goback tof
if is0,u close;gosub .%lib/adduplod.t;gosub ak;goback tof
if is0,n ife t goback nextpg;goback tof
if is0,c queue clear;queue add "gosub pausing";goback listpg
if is0,l cl;queue list;gosub ak;goback listpg
else if is0,1 sets s0 %s1
else if is0,2 sets s0 %s2
else if is0,3 sets s0 %s3
else if is0,4 sets s0 %s4
else if is0,5 sets s0 %s5
else if is0,6 sets s0 %s6
else if is0,7 sets s0 %s7
else if is0,8 sets s0 %s8
else if is0,9 sets s0 %s9
else set s0 ""
if !%s0 lput "\r\nInvalid Request\r\n";gosub ak;goback listpg
split s0 " " "~" "~" "";queue add "call %z0 : %z2"
lput "\r\nCall Enqueued for %z2\r\n";gosub ak;goback listpg